<!--
 * @Description: 
 * @Author: lihk
 * @Date: 2025-07-23 17:18:23
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" />
  <title>document</title>
  <style>
    body {
      background: #000;
    }

    .card::before {
      z-index: -1;
      filter: blur(20px);
    }

    .card::after {
      /* content: ""; */
      position: absolute;
      inset: 8px;
      background: #191c29;
      border-radius: inherit;
    }

    /* @property --direc {
        syntax: "<angle>";
        initial-value: 0deg;
        inherits: false;
      } */
    .card {
      position: relative;
      width: 200px;
      height: 400px;
      margin: 100px auto;
      --direc: 0deg;
      color: red;
      background-image: linear-gradient(var(--direc),
          #5ddcff,
          #3c67e3,
          43%,
          #4e00c2);
      animation: rotate 3s linear infinite;
    }

    @keyframes rotate {
      to {
        --direc: 360deg;
      }
    }
  </style>
</head>
<body>
  <div class="card"></div>
  <script></script>
</body>
</html>